package com.healthcloud.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.healthcloud.dao.TestreferencevalueDao;
import com.healthcloud.entity.TestreferencevalueEntity;
import com.healthcloud.service.TestreferencevalueService;
import com.healthcloud.utils.PageParam;
import org.springframework.transaction.annotation.Transactional;



@Service("testreferencevalueService")
@Transactional
public class TestreferencevalueServiceImpl implements TestreferencevalueService {
	@Autowired
	private TestreferencevalueDao testreferencevalueDao;

	@Override
	public TestreferencevalueEntity queryObject(Integer id){
		return testreferencevalueDao.queryObject(id);
	}

	@Override
	public List<TestreferencevalueEntity> queryList(TestreferencevalueEntity bean, PageParam pageParam){
		return testreferencevalueDao.queryList(bean, pageParam);
	}

	@Override
	public int queryTotal(TestreferencevalueEntity bean){
		return testreferencevalueDao.queryTotal(bean);
	}

	@Override
	public void save(TestreferencevalueEntity testreferencevalue){
		testreferencevalueDao.save(testreferencevalue);
	}

	@Override
	public void update(TestreferencevalueEntity testreferencevalue){
		testreferencevalueDao.update(testreferencevalue);
	}

	@Override
	public void delete(Integer id){
		testreferencevalueDao.delete(id);
	}

	@Override
	public void deleteBatch(Integer[] ids){
		testreferencevalueDao.deleteBatch(ids);
	}

	@Override
	public List<TestreferencevalueEntity> queryByCode(List<String> code){
		return testreferencevalueDao.queryByCode(code);
	}
}
